using System.ComponentModel.DataAnnotations;
using System.Linq;
using cli;
using System;
using System.Xml;
using System.ComponentModel;
using mock_ehr_lib.Model.Summary;

namespace mock_ehr_lib.Model
{
    public class Patient : IPatient
    {
        public int ID { get; set; }

        public string FirstName { get; set; }

        public string LastName { get; set; }
        public DateTime DOB { get; set; }

        public IEncounter[] Encounters { get; set; }

        [Browsable(false)]
        public ContinuityOfCareRecord CCR { get; set; }

        [Browsable(false)]
        public string CCD { get; set; }

        [Browsable(false)]
        public PatientSummary Summary { get; set; }


        public System.DateTime GetDOB()
        {
            return DOB;
        }

        public IEncounter[] GetEncounters()
        {
            return Encounters;
        }

        public string GetCCD()
        {
            
            return CCD;
        }

        
    }
}